package com.ruicar.afs.cloud.bizcommon.print.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author: phong
 * @date 2020-06-09
 * @description 打印模板类别表
 */
@Data
@Accessors(chain = true)
@TableName(value = "com_print_form_class", autoResultMap = true)
public class ComPrintFormClass extends BaseEntity<ComPrintFormClass> implements Serializable, Cloneable {
    /**
     * 类别编号
     */
    @NotBlank(message = "类别编号不能为空")
    @NotNull(message = "类别编号不能为空")
    @ApiModelProperty("类别编号")
    private String classId;
    /**
     * 类别名称
     */
    @NotBlank(message = "类别名称不能为空")
    @NotNull(message = "类别名称不能为空")
    @ApiModelProperty("类别名称")
    private String className;
    /**
     * 业务场景;申请提报，合同打印，提前还款，资产变更等
     */
    @ApiModelProperty("业务场景")
    private String busiType;
    /**
     * 附件大类
     */
    @ApiModelProperty("附件大类")
    private String attachmentClass;
    /**
     * 附件小类
     */
    @ApiModelProperty("附件小类")
    private String attachmentSubClass;
}
